package com.xyht.sca_s.student_manage_system.modules.student_subsidies.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xyht.sca_s.student_manage_system.common.commonReturn.ResponseResult;
import com.xyht.sca_s.student_manage_system.modules.student_subsidies.entity.SmsStudentSubsidiesApply;
import com.xyht.sca_s.student_manage_system.modules.student_subsidies.entity.req.SmsStudentSubsidiesApplyReq;

import javax.servlet.http.HttpServletResponse;

/**
 * <p>
 * 国家助学金申请 服务类
 * </p>
 *
 * @author XYHT
 * @since 2023-02-26
 */
public interface SmsStudentSubsidiesApplyService extends IService<SmsStudentSubsidiesApply> {
        ResponseResult submitSubsidiesApply(SmsStudentSubsidiesApplyReq smsStudentSubsidiesApplyReq,String user_id);
        ResponseResult submitSubsidiesRejectApply(SmsStudentSubsidiesApplyReq smsStudentSubsidiesApplyReq,String user_id);
        ResponseResult rejectSubsidiesApply(SmsStudentSubsidiesApplyReq smsStudentSubsidiesApplyReq);

        ResponseResult getOwnSubsidiesTaskList(Integer pageNum,Integer pageSize,String user_id,String search_str);
        ResponseResult getSubmitSubsidiesApply(String task_id,String user_id);
        ResponseResult getSubsidiesApplyHistory(Integer pageNum,Integer pageSize,String user_id,String search_str);
        ResponseResult getSubsidiesApplyDetail(String apply_id);

        ResponseResult exportSubsidiesApply(String apply_id, HttpServletResponse response);
}
